package com.free.system.domain;

import com.free.common.annotation.Excel;
import com.free.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 会员信息对象 free_member
 *
 * @author Sophia
 * @date 2025-02-25
 */
public class FreeMember extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 会员手机号
     */
    @Excel(name = "会员手机号")
    private String memberPhone;

    /**
     * 会员邮箱
     */
    @Excel(name = "会员邮箱")
    private String memberEmail;

    /**
     * 会员认证标识
     */
    @Excel(name = "会员认证标识")
    private String token;

    /**
     * 认证状态(正常,过期)
     */
    @Excel(name = "认证状态(正常,过期)")
    private String status;

    /**
     * 配置信息
     */
    @Excel(name = "配置信息")
    private String config;

    /**
     * 时间(小时位)
     */
    @Excel(name = "时间(小时位)")
    private String pullHour;

    /**
     * 时间(小时位)
     */
    @Excel(name = "时间(小时位)")
    private String pullMin;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setMemberPhone(String memberPhone) {
        this.memberPhone = memberPhone;
    }

    public String getMemberPhone() {
        return memberPhone;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getToken() {
        return token;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setConfig(String config) {
        this.config = config;
    }

    public String getConfig() {
        return config;
    }

    public void setPullHour(String pullHour) {
        this.pullHour = pullHour;
    }

    public String getPullHour() {
        return pullHour;
    }

    public void setPullMin(String pullMin) {
        this.pullMin = pullMin;
    }

    public String getPullMin() {
        return pullMin;
    }

    public String getMemberEmail() {
        return memberEmail;
    }

    public void setMemberEmail(String memberEmail) {
        this.memberEmail = memberEmail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("memberPhone", getMemberPhone())
                .append("memberEmail", getMemberEmail())
                .append("token", getToken())
                .append("status", getStatus())
                .append("config", getConfig())
                .append("pullHour", getPullHour())
                .append("pullMin", getPullMin())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
